package com.thekernel.youdaoyun.service;

import com.thekernel.youdaoyun.bean.Feedback;
import com.thekernel.youdaoyun.bean.Note;
import com.thekernel.youdaoyun.exception.MyException;
import org.springframework.stereotype.Repository;

/**
 * @Author: thekernel
 * @Date: 2020/3/25 22:04
 * @Version: 1.0
 * @Description:
 */
@Repository
public interface FeedbackService {

    /**
     * 添加笔记
     *
     * @param feedback 反馈信息(content, user_id)
     * @return -1: Data Not Found 0: Note Already Exists 1: Success
     */
    int addFeedback(Feedback feedback) throws MyException;

}
